package net.hn.hnms.biz.plan.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Table;

@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper = false)
@Table(name = "group_data_gather")
public class GroupDataGather {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 数据时间
     */
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String dataDate;

    /**
     * 原始json 串
     */
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String data;


    /**
     * 类型
     */
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String type;
}
